import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import * as Z from "./common.js"
import Directives from "./directives/index.js"
import "./common.css"
import "./custom.css"
import ViewUI from 'view-design'
import 'view-design/dist/styles/iview.css'
window._ = Z // 全局注册公共函数
Vue.config.productionTip = false
Vue.use(Directives) // 引入自定义指令
Vue.use(ViewUI) // 全局加载

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
